//
//  Content.h
//  Finder
//
//  Created by cdm on 11-3-18.
//  Copyright 2011年 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>


enum ContentType {
    // ContentTypeNone = 0,
    ContentTypeChildren = 1,
    ContentTypeWeb = 2,
    ContentTypeSMS = 3,
    ContentTypePhone = 4,
    ContentTypeAppStore = 5,
    ContentTypeViewController = 6
};

@interface Content : NSObject {
    
}

@property (nonatomic, retain) NSString* name;
@property (nonatomic, assign) int type;
@property (nonatomic, retain) NSString* data;
@property (nonatomic, retain) NSString* icon;
@property (nonatomic, retain) NSMutableArray *children;

+ (Content *)contentFromDict:(NSDictionary *)dict;
+ (NSMutableArray *)contentsFromPlist:(NSString *)plistName;

@end
